/*
@author: tian-yan-tian-ge
@file: 2023.11.16作业1.go
@time: 2023/11/16 17:03
*/
package main

import "fmt"

func main() {
	var str1 string
	fmt.Print("请输入字符串：")
	fmt.Scan(&str1)
	for i := len(str1) - 1; i >= 0; i-- {
		fmt.Print(string(str1[i]))
	}
}